package net.sxnic.taglib;

import net.sxnic.comm.basecode.BaseCodeUtils;

import org.apache.commons.lang.StringUtils;

public class BaseCodeUtilsCheckbox {
	
	/**
	 * 返回被分割的InfoCode
	 */
	public String splitInfoCode(String arg0,String arg1) {
		String[] infoCodes = StringUtils.split(arg1, ",");
		String temp="";
		for(int i=0;i<infoCodes.length;i++) {
			temp = temp +" "+ BaseCodeUtils.getInfoName(arg0,infoCodes[i].trim());
		}
		return temp;
	}
	
/*	public void setBookmarkList(Document doc,String name,String sortCode,String[] lists) throws Exception {
		for(int i=0;i<lists.length;i++) {
			WordUtils.setBookmark(doc,name,
					BaseCodeUtils.getInfoName(sortCode, lists[i].trim()));
		}
	}*/

	
	
}
